home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 1
/
Merciful - Disc 1.iso
/
software
/
m
/
math_vision
/
mathvisionv2.1b.dms
/
mathvisionv2.1b.adf
/
README
/
Hooks.doc
< prev
next >
Wrap
Text File
|
1992-02-14
|
2KB
|
59 lines
======================================================================
HOOKS DOCUMENT
======================================================================
To use a hook simply double click on its icon AFTER the MathVISION
program is running. The hook will start up as a task and rendezvous
with the MathVISION program and make the new features it supports
available to MathVISION.
An easy example is the Mandelbrot hook in the Misc drawer in the
Hooks drawer in the MathVISION.ffp or MathVISION.ieee drawer on these
respective disks.
1. Start MathVISION.
2. Double click the Mandelbrot hook icon.
3. Check out the Divide and Conquer item in the hooks menu.
This item was inserted by the hook. Try plotting with
Divide and Conquer on one of your favorite contour type
plots.
Hooks can be started using the run command from CLI. Hooks exist
as tasks separate from MathVISION and separate from each other.
For advanced users we have included below the sample script for
loading hooks after MathVISION has been started. MathVISION should
always be started with the Run_MathVISION.ffp or Run_MathVISION.ieee
icon, as this will execute the startup script that sets the stack size
and does assigns for you after installation on a hard disk. Starting
MathVISION this way will also make it easy for you to include
your own startup information in the script file.
====================================================================
The following is a sample script. LoadHooks contains
a more complete and more advanced version of this script
file which the user should feel free to edit.
====================================================================
Run <NIL: >NIL: MathVISION.ieee/IEEE.Hooks/Misc/Axes
Wait 2
Run <NIL: >NIL: MathVISION.ieee/IEEE.Hooks/Misc/Sound
Wait 10
Run <NIL: >NIL: MathVISION.ieee/IEEE.Hooks/Misc/Mandelbrot
Wait 2
=======================================================================
The Wait command makes the loading faster since it reduces contention
for the disk. The redirection commands <NIL: and >NIL: are optional
but inform the system that the ICONX window is not required for
input or output.